package com.xoa.service.financialManage.charge;


import com.baomidou.mybatisplus.service.IService;
import com.xoa.model.financialManage.charge.ChargeType;
import com.xoa.util.ToJson;

/**
 * <p>
 * 费用类型 服务类
 * </p>
 *
 * @author liujian
 * @since 2020-04-23
 */
public interface ChargeTypeService extends IService<ChargeType> {

    ToJson<ChargeType> save(ChargeType chargeType);

    ToJson<ChargeType>  deleteById(Integer chargeTypeId);

    ToJson<ChargeType>  update(ChargeType chargeTypeId);

    ToJson<ChargeType>  selectById(Integer chargeTypeId);

    ToJson<ChargeType>  selectByParent(Integer chargeTypeParent);

    ToJson<ChargeType>  selectChargeType(boolean type);

}
